From: Debian Science Maintainers Date: Wed, 26 Jan 2022 16:21:20 +0000 (+0100) Subject: test_relax_tolerance X-Git-Tag: archive/raspbian/0.10.6-5+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=4dbdf742a2ea7910652ec62ce370370fc1bd26d2;p=pygalmesh.git test_relax_tolerance =================================================================== Gbp-Pq: Name test_relax_tolerance.patch --- diff --git a/tests/test_volume_mesh.py b/tests/test_volume_mesh.py index 394e3bb..6c57057 100644 --- a/tests/test_volume_mesh.py +++ b/tests/test_volume_mesh.py @@ -483,7 +483,7 @@ def test_extrude(): assert abs(min(mesh.points[:, 1]) + 0.3) < tol # Relax tolerance for debian, see assert abs(max(mesh.points[:, 2]) - 1.0) < 1.1e-3 - assert abs(min(mesh.points[:, 2]) + 0.0) < tol + assert abs(min(mesh.points[:, 2]) + 0.0) < 1.1e-3 vol = sum(helpers.compute_volumes(mesh.points, mesh.get_cells_type("tetra"))) assert abs(vol - 0.4) < tol